<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="./js/vue.min.js"></script>
</head>
<body>

<div id="application">
    <p v-show="isShow">这是演示的文本内容</p>

    <button @click="changeTrue">展示</button>
    <button @click="changeFalse">隐藏</button>
</div>

<script type="text/javascript">
    let vueModel = new Vue({
        el : "#application",
        data : {
          isShow : true
        },
        methods : {
            changeTrue : function () {
                this.isShow = true;
            },
            changeFalse : function () {
                this.isShow = false;
            },

        }
    });
</script>
</body>
</html>